/*
 * BSM6.0
 *
 * Copyright 2012-2013 (C) SINODATA CO., LTD. All Rights Reserved.
 */
package com.sinodata.bsm.center.dao.impl;

import com.sinodata.bsm.center.dao.BaseDao;
import com.sinodata.bsm.center.dao.ResAttrValDao;

/**
 * <p>
 * Description: 
 * </p>
 *
 * @author wangyazhou
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2012-11-28 下午3:00:49          wangyazhou        1.0         To create
 * </p>
 *
 * @since 
 * @see     
 */
public class ResAttrValDaoImpl extends BaseDao implements ResAttrValDao {

    @Override
    public void deleteByResId(Long resId) {
        String hql = "delete from ResAttrVal where resId=" + resId.longValue();
        getSession().createQuery(hql).executeUpdate();
    }

}
